//word.h
#include <iostream>
using namespace std;

#ifndef WORD_H
#define WORD_H

class word
{
	public:
		word ();
		word (char*);
		~word ();
		word (const word&);
		word& operator= (const word&);
		char* getstr () {return string;}
		int getlen () {return length;}
		void print ();
		void println ();
	private:
		static const int strlen = 30;
		char* string;
		int length;
};

#endif

